﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GrouponDesktop.AbmCliente
{
    public partial class BajaCliente : Form
    {
        private int id;

        public BajaCliente(int idC)
        {
            this.id = idC;
            InitializeComponent();
        }

        private void b_SI_Click(object sender, EventArgs e)
        {
            BDConnection.execute("EXEC CodingSpree.bajaLogicaCli " + id);
            MessageBox.Show("Baja Efectuada");
            Hide();
        }

        private void b_NO_Click(object sender, EventArgs e)
        {
            Hide();
        }
    }
}
